
chrome.storage.sync.get(['baidusearch'], function(result) {
    console.log('baidu.js: Value currently is ' + result.baidusearch);
    if (result.baidusearch) baiduSimple();
});

function baiduSimple() {
    if (!document.URL.includes("baidu.com/s?")) {
        return;
    }

    if (!document.title.includes("百度搜索")) {
        return;
    }

    /**
     * TODO 更多的优化
     */
}
